import type {
  ProjectListResult,
  PurchaseListResult
} from '@/api/model/detailModel';
import request from '@/utils/request';

const Api = {
  PurchaseList: '/mock/get-purchase-list',
  ProjectList: '/mock/get-project-list'
};

export function getPurchaseList() {
  return request.get<PurchaseListResult>(Api.PurchaseList);
}

export function getProjectList() {
  return request.get<ProjectListResult>(Api.ProjectList);
}
